package com.tangding.hprose.config;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import hprose.common.HproseFilter;

/**
 * @description 
 *
 * @author Ranger
 * @version 2017年11月21日_下午12:36:57
 *
 */
@Component
public class HproseConfig {
	private String host;
	private Map<String, Class<?>> apiMap = new HashMap<>();
	private List<HproseFilter> filters = new ArrayList<>();
	
	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public Map<String, Class<?>> getApiMap() {
		return apiMap;
	}

	public void appendApiMap(Map<String, Class<?>> apiMap) {
		this.apiMap.putAll(apiMap);
	}

	public List<HproseFilter> getFilters() {
		return filters;
	}

	public void setFilters(List<HproseFilter> filters) {
		this.filters = filters;
	}
}
